package com.lunago.agent.constant;

/**
 * 常用字符串
 */
public final class StringConstant {

    private StringConstant() {
        throw new IllegalStateException(UTILITY_CLASS);
    }

    public static final String UTILITY_CLASS = "Utility Class";

    public static final String SUCCESS = "success";

    public static final String UNKNOWN = "unknown";

    public static final String GET = "GET";

    public static final String POST = "POST";

    public static final String DELETE = "DELETE";

    public static final String PATTERN_DATE = "yyyy-MM-dd";

    public static final String PATTERN_TIME = "HH:mm:ss";

    public static final String PATTERN_DATETIME = "yyyy-MM-dd HH:mm:ss";

    public static final String ENCRYPT_TYPE_AES = "AES";

    public static final String BASEPACKAGE = "com.pptsport.ppt";

    /**
     * 请求头token标识
     */
    public static final String AUTHORIZATION = "Authorization";
    /**
     * token类型 Bearer
     */
    public static final String TOKEN_TYPE_BEARER = "Bearer";
    /**
     * token类型 Basic
     */
    public static final String TOKEN_TYPE_BASIC = "Basic";
    /**
     * 日志traceId
     */
    public static final String TRACE_ID = "traceId";

    /**
     * undefined未知
     */
    public static final String UNDEFINED = "undefined";
    /**
     * Spring Boot Admin 请求前缀
     */
    public static final String SPRING_BOOT_ADMIN_PREFIX = "/actuator";

    public static final String LOGIN_USER_CACHE_PREFIX = "LOGIN_USER:";

    /**
     * 图片格式-webp
     */
    public static final String IMAGE_FORMAT_WEBP = "webp";

    /**
     * NanoId自定义随机字母表(数字和字母，不包含_-)，使用URL安全的Base64字符
     */
    public static final char[] NANOID_ALPHABET =
            "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".toCharArray();

    /**
     * userId
     */
    public static String USER_ID = "userId";
    /**
     *
     */
    public static String CODE = "code";

}
